package com.example.mydesignmodule.factory;

/**
 * @author tgw
 * @date 2021/2/26
 * @describe
 */
public  class BaoMaCar extends Car{


    @Override
    protected void name() {
        System.out.println("宝马车");
    }

    @Override
    protected CarType carType() {
        return new JingKouType();
    }
}
